package com.only4play.httpapt.support.api;

import com.only4play.httpapt.common.SimpleHttpService;
import com.only4play.httpapt.common.http.RequestExecutor;

import java.io.IOException;

/**
 * @author liyuncong
 * @version 1.0
 * @file SimpleHttpSupport
 * @brief SimpleHttpSupport
 * @details SimpleHttpSupport
 * @date 2024-08-16
 *
 * Edit History
 * ----------------------------------------------------------------------------
 * DATE                     NAME               DESCRIPTION
 * 2024-08-16               liyuncong          Created
 */
public interface SimpleHttpSupport extends SimpleHttpService {

    void initHttp();

    <T, E> T execute(RequestExecutor<T, E> executor, String uri, E data) throws IOException;
}
